snapshot: push/pop mismatch is critical
authorBenjamin Otte <otte@redhat.com>
Tue, 15 Nov 2016 21:39:05 +0000 (22:39 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 15 Nov 2016 21:39:05 +0000 (22:39 +0100)
This is broken code that needs to be fixed right now.

gtk/gtksnapshot.c

index aacb24f76dc72bd205d1bc047e960aa32f787754..c1f77d08b3f526ce9610b9a127bc021774140d4a 100644 (file)
@@ -182,7 +182,7 @@ gtk_snapshot_append_node (GtkSnapshot   *state,
     state->root = gsk_render_node_ref (node);
   else
     {
-      g_warning ("Tried appending a node to an already finished snapshot.");
+      g_critical ("Tried appending a node to an already finished snapshot.");
     }
 }